package com.oa.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("审批参数对象")
@Data
public class ApprovalDTO {

    @ApiModelProperty("审批id")
    @NotNull(message = "审批id不能为空")
    private Long id;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("审批状态 1-通过 2-不通过")
    @NotNull(message = "审批状态不能为空")
    private Integer status;
}
